measurements of lung function tests